package com.mice.model.fight
{
	import com.mice.meta.FighterMeta;
	import com.mice.meta.MetaHelper;

	public class LevelInfoVO{
		/**
		 * 本次战斗(本关卡),会出现的怪物npc的列表
		 */		
		public var fighterMetaList:Array;

		/**
		 * 本关boss
		 */		
		public var bossMeta:FighterMeta;

		/**
		 * boss现有血量
		 */		
		public var bossLife:int;

		public function LevelInfoVO(){}

		public static function createInfo(level:int, team:int):LevelInfoVO{
			var vo:LevelInfoVO = new LevelInfoVO();
			vo.fighterMetaList = MetaHelper.getFighterMetaInLevel(level, team);
			vo.bossMeta = MetaHelper.getFighterMetaInLevel(level, team)[0];
			vo.bossLife = vo.bossMeta.maxLife;

			return vo;
		}
	}
}

